package com.tbsoft.ehr.service.contract;

import java.util.List;

import com.tbsoft.ehr.model.Contract;
import com.tbsoft.ehr.model.ContractVo;
import com.tbsoft.ehr.model.StaffInfo;

public interface ContractService {
	Contract addContract(Contract contract);
	//根据档案获取合同
	List<Contract> getContractByStaff(StaffInfo staff);
	//按条件查询合同
	List<Contract> getContractByCondton(List<StaffInfo> staffLst,String endTimeFrom,String endTimeTo,int startIndex,int count);
	
	int getContractCount(List<StaffInfo> staffLst,String endTimeFrom, String endTimeTo);
	
	ContractVo genContractInfo(List<Contract> contractLst);
}
